﻿<div class="layui-fluid" style="padding: 5px;">
<form id="modelbizRoamForm" lay-filter="modelbizRoamForm" class="layui-form model-form" style="padding:0px;">
<input name="id" type="hidden"  value="#(bizRoam?bizRoam.id:'')" />
<input name="sceneId" type="hidden"  value="#(sceneId)" />
<input name="layerId" type="hidden" id="layerId"  value="#(bizRoam?bizRoam.layerId:'')" />
    <div class="layui-card">
        <div class="layui-card-body" style="padding:0px;">
			<table class="formTable">
				<tr>
					<td>名称</td>
					<td colspan="2">
						<input id="bizRoamName-input" name="name" value="#(bizRoam?bizRoam.name:'')" placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50" lay-verType="tips" lay-verify="required" required/>
					</td>
				</tr>
				<tr>
					<td>标识</td>
					<td colspan="2">
						<input  value="#(bizRoam?bizRoam.code:'')" name="code"  placeholder="" autocomplete="off"   type="text" class="layui-input" maxlength="50" />
					</td>
				</tr>				
 				<tr>
					<td>类型</td>
					<td colspan="2" style="text-align: left;">
				      <select name="type" lay-filter="type"  lay-verify="required" required>
				        <option value="0" #if(bizRoam&& bizRoam.type=='0') selected #end>空中漫游</option>
				      </select>
	                </td>
				</tr> 	
				<tr>
					<td>时长(毫秒):</td>
					<td colspan="2">
						<input name="times" autocomplete="off" value="#(bizRoam?bizRoam.times:0)"  placeholder="请输入序号" type="number" class="layui-input" />
					</td>
				</tr>
				<tr>
					<td>循环</td> 
					<td colspan="2" style="text-align: left;">
				      <select name="clockRange" lay-filter="clockRange"  lay-verify="required" required>
				        <option value="CLAMPED" #if(bizRoam&& bizRoam.type=='CLAMPED') selected #end>CLAMPED</option>
				        <option value="LOOP_STOP" #if(bizRoam&& bizRoam.type=='LOOP_STOP') selected #end>LOOP_STOP</option>
				        <option value="UNBOUNDED" #if(bizRoam&& bizRoam.type=='UNBOUNDED') selected #end>UNBOUNDED</option>
				      </select>
	                </td>
		        </tr>
				<tr>
					<td>距离 (后方):</td>
					<td colspan="2">
						<input name="followedX" autocomplete="off" value="#(bizRoam?bizRoam.followedX:'')"  placeholder="请输入序号" type="number" class="layui-input" />
					</td>
				</tr>
				<tr>
					<td>距离(上方):</td>
					<td colspan="2">
						<input name="followedZ" autocomplete="off" value="#(bizRoam?bizRoam.followedZ:'')"  placeholder="请输入序号" type="number" class="layui-input" />
					</td>
				</tr>
				<tr>
					<td>是否锁定</td> 
		            <td colspan="2" style="text-align: left;">
						<input name="isTracked" type="radio" value="0" title="未锁定" #if(bizRoam==null || bizRoam.isTracked=='0') checked #end/>
		                <input name="isTracked" type="radio" value="1" title="锁定" #if(bizRoam&& bizRoam.isTracked=='1') checked #end/>
		            </td>
		        </tr>
				<tr>
					<td>序号:</td>
					<td colspan="2">
						<input name="sort" autocomplete="off" value="#(bizRoam?bizRoam.sort:0)"  placeholder="请输入序号" type="number" class="layui-input" />
					</td>
				</tr>
				<tr>
					<td colspan="3">
						#if(bizRoam) <button type="button" class="layui-btn layui-btn-sm" id="settingbizRoamVisualAngle">设置视角</button> #end
						<button class="layui-btn layui-btn-sm" lay-filter="submitbizRoamForm" lay-submit>保存</button>
					</td>
				</tr>
			</table>			
        </div>
    </div>
    </form>
</div>
